@extends('backend.layouts.master')

@section('title', '回复留言')

@section('content')
  <div class="admin-content">
    <div class="am-cf am-padding">
      <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">回复留言</strong> / <small> </small></div>
    </div>

    <hr/>

    <div  @if  (!Session::get('message')) style="display:none;" @endif  class="am-alert  @if  (Session::get('message.type')=='s')am-alert-success @endif @if (Session::get('message.type')=='w')am-alert-warning @endif @if (Session::get('message.type')=='d')am-alert-danger @endif" data-am-alert>
      <button type="button" class="am-close">&times;</button>
      <p>{{ Session::get('message.message') }}</p>
    </div>

    <div class="am-g" style="min-height: 600px">





      <div class="am-u-sm-12 am-u-md-8 am-u-md-pull-12">
        <form class="am-form am-form-horizontal" enctype="multipart/form-data" action="{{url('backend/recomment')}}" method="post">

          <input type="hidden" value="{{$comment->id}}" name="id">

          <div class="am-form-group">

            <label for="user-name" class="am-u-sm-3 am-form-label"> id:</label>
            <div class="am-u-sm-9">
              {{$comment->id}}
              </div>
            </div>
          <div class="am-form-group">

            <label for="user-name" class="am-u-sm-3 am-form-label"> 内容</label>
            <div class="am-u-sm-9">
              {{$comment->content}}
            </div>
          </div>

          <div class="am-form-group">
            <label for="user-name" class="am-u-sm-3 am-form-label">回复</label>
            <div class="am-u-sm-9">
              <input type="text" name="is_admin" id="user-name"  value="{{$comment->is_admin}}">
            </div>
          </div>


          <div class="am-form-group">
            <div class="am-u-sm-9 am-u-sm-push-3">
              <button type="submit" class="am-btn am-btn-primary">保存</button>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
  <!-- content end -->
@stop